package ws.very.android.util.async.askbox;

import java.util.HashMap;
import java.util.Map;

public class AskBoxMsg {

	private Map<String, AskBox> boxes = new HashMap<String, AskBox>();

	protected <T> AskBox<T> remove(String key) {
		return boxes.remove(key);
	}

	public <T> AskBox<T> put(String key, AskBox<T> askbox) {
		// AskBox<T> askBox = createAskBox();
		boxes.put(key, askbox);
		return askbox;
	}

	public <T> AskBox<T> get(String key) {
		return boxes.get(key);
	}
	

}
